﻿using Evolus.Mercury.Model;
using Hippo.Core;
using System;

namespace Evolus.Mercury.Specifications
{
    public class StockInfoOfDateSpecification : Specification<StockInfo>
    {
        public StockInfoOfDateSpecification(string symbol, DateTime date) :
            base(stockInfo => stockInfo.Stock.Symbol == symbol && stockInfo.Date == date.Date)
        {
        }
    }
}
